Placing Index Commands

This section discusses a simple framework for placing index commands in a document. It assumes an interactive editor is available with string search, which positions the cursor to a specified pattern, and query-insert, which displays a menu of options and, upon the user's selection, inserts a specified key, together with other constant strings (e.g., the index command and its argument delimiters).

We implemented this framework on top of GNU Emacs [19] as part of an interactive environment for composing TEX-based documents [5]. The underlying model applies not just to conventional text editors, but to direct-manipulation systems as well.



Subsections